#pragma once
#include "GameSceneState.h"
#include "BackgroundImage.h"
#include "Menu.h"
#include "AudioOut.h"
#include "jsonreader.h"

class GameScenePause : public GameSceneState
{
public:
	~GameScenePause();
	static GameSceneState* Instance();
	void Init();
	void Draw();
	DWORD Update(const KeyInput* input);
	void Reset();
private:
	GameScenePause();
	static GameScenePause* _p_this;
	
	DWORD TickCount;
	DWORD NowState;
	DWORD sceneChange;
	DWORD changeCount;

	LPDIRECT3DTEXTURE9 GrayScale;
	LPDIRECT3DTEXTURE9 PauseMenu;
	
	BackgroundImage* gray;
	Menu* pausemenu[4];
	Menu* pauseFrame;
	
	jsonreader* loadData;

	AudioOut* audio;
};
